package oa.hleast.xswl.common.constant;

import oa.hleast.common.constant.RedisConstants;

/**
 * @author 00209
 * @date 2021/03/16
 */
public interface OmsConstants extends RedisConstants {

    String CART_PREFIX = REDIS_PRE + "cart:";

    String ORDER_TOKEN_PREFIX = REDIS_PRE + "order:token:";
    String ORDER_DELIVERY_PREFIX = REDIS_PRE + "order:delivery:";

    /**
     * 释放锁成功返回值
     */
    Long RELEASE_LOCK_SUCCESS_RESULT = 1L;

    String EXCHANGE_ORDER_EXCHANGE = REDIS_PRE + "order.exchange";
    String ROUTING_KEY_ORDER_CLOSE = REDIS_PRE + "order.close";
    String ROUTING_KEY_ORDER_CREATE = REDIS_PRE + "order.create";
    String QUEUE_ORDER_EVENT = REDIS_PRE + "order.event.queue";
    String QUEUE_ORDER_CLOSE = REDIS_PRE + "order.close.queue";
}
